module.exports = {  
	devServer: {
		//关闭esling代码检测
		overlay:{
			warnning:false,
			errors:false
		},
		//代理服务器解决跨域问题
		proxy: {
			'/api': {
				target: 'http://v.juhe.cn/',
				changeOrigin: true,  //执行跨域
				ws: true,
				secure: false,
				pathRewrite: {
					'^/api': ''
				}
			},
			'/qiche': {
				target: 'http://apis.juhe.cn/',
				changeOrigin: true,  //执行跨域
				ws: true,
				secure: false,
				pathRewrite: {
					'^/qiche': ''
				}
			}
		}
	},
	lintOnSave:false
}